<template>
  <div>
    <router-link to="/home?id=100&name=jack">首页</router-link>
    <router-link :to="{ path: '/category', query: { name: '小张', age: 20 } }">分类</router-link>
    <router-link to="/car">购物车</router-link>
    <router-link to="/mine">我的</router-link>

    <!-- >分类页</router-link -->
    <!-- <router-view name="Category"></router-view>
    <router-view name="Car"></router-view>
    <router-view></router-view> -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {}
  }
}
</script>
<style scoped>
</style>